<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			document.write("Number.MAX_VALUE:" + Number.MAX_VALUE + "<br>");
			document.write("Number.MIN_VALUE:" + Number.MIN_VALUE + "<br>");
			var month = 28;
			if(month < 1 || month > 12) {
				month = Number.NaN;
			}
			document.write(month + "<br>");
			var x = (Number.MAX_VALUE) * 2
			if(x == Number.POSITIVE_INFINITY) {
				document.write("Number.MAX_VALUE*2值为：" + x + "<br>");
			}
			var num1 = new Number(17);
			document.write("数17的2进制表示为：" + num1.toString(2) + "，8进制表示为：" + num1.toString(8) + "，16进制表示为：" + num1.toString(16) + "<br>");
			document.write("Number(12.34567).toFixed(2)的值为：" + Number(12.34567).toFixed(2) + "<br>");
			document.write("Number(1234567).toExponential(4)的值为：" + Number(1234567).toExponential(4) + "<br>");
			document.write("Number(1234567).toPrecision(4)的值为：" + Number(1234567).toPrecision(4) + "<br>");
			document.write("Number(1234567).toPrecision(10)的值为：" + Number(1234567).toPrecision(10) + "<br>");
			var str = "110";
			var num3 = new Number(str);
			var num2 = num3.valueOf();
			document.write("字符串str转换为数字："+num2);
		</script>
	</head>

	<body>
	</body>

</html>